package com.atguigu.common.exception;

/**
 * @author Junko
 * @date 2021/01/22 19:55
 **/
public enum  BizCodeEnum {
    //
    UNKNOW_EXCEPTION(10000,"系统未知异常"),
    //
    VALID_EXCEPTION(10001,"参数格式校验异常");

    private Integer code;
    private String msg;

    BizCodeEnum(Integer code, String msgl) {
        this.code = code;
        this.msg = msgl;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
